package cn.tedu.tea.service;

import cn.tedu.tea.domain.param.TStockRecordOutAddNewDTO;
import cn.tedu.tea.domain.param.TStockRecordOutUpdateDTO;
import cn.tedu.tea.domain.vo.TStockRecordOutListVO;
import cn.tedu.tea.domain.vo.TStockRecordOutStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ITStockRecordOutService {

    String STATUS_TEXT[] = {"显示", "隐藏"};

    void addNew(TStockRecordOutAddNewDTO tStockRecordOutAddNewDTO);

    void deleteById(Long id);

    void deleteByIds(Long[] ids);

    void updateInfoById(TStockRecordOutUpdateDTO tStockRecordOutUpdateDTO);

    TStockRecordOutStandardVO getStandardById(Long id);

    List<TStockRecordOutListVO> list();

}
